package net.aiion.weave.impl.bytecode.events;

import net.aiion.weave.spi.bytecode.BytecodeVisitor;
import net.aiion.weave.spi.bytecode.events.AnnotationDefaultStartBytecodeEvent;

public class AnnotationDefaultStartBytecodeEventImpl extends BytecodeEventImpl implements
    AnnotationDefaultStartBytecodeEvent
{
    private static final AnnotationDefaultStartBytecodeEvent INSTANCE = new AnnotationDefaultStartBytecodeEventImpl();

    public AnnotationDefaultStartBytecodeEventImpl() {
    }

    @Override
    public int getType() {
        return ANNOTATION_DEFAULT_START;
    }

    public static AnnotationDefaultStartBytecodeEvent getInstance() {
        return INSTANCE;
    }

    @Override
    public BytecodeVisitor acceptBytecodeVisitor(final BytecodeVisitor aBytecodeVisitor) {
        return aBytecodeVisitor.asBytecodeMethodVisitor().visitAnnotationDefaultStart(this);
    }
}
